package com.xjust.Mapper;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface InspectionRequestMapper {
    void insertInspectionRequest(Map<String, Object> inspectionRequest);


    Page<Map<String, Object>> getInspectionRequests();

    Integer[] getMedicalTechnologyId(Integer registId, String inspectionState);

    void updataInspection(Integer employeeId, Integer registId, Integer medicalTechnology, String inspectionState);

    Integer getFinishInspectionList();

    Integer getWaitInspectionList();

    void updateInspectionRequest(Integer id, Integer medical_technology_id);

    Integer[] getInspectionInfo();

    List<Map<String, Object>> selectAllinspection(Integer registerId);
}
